package com.bdzl.biz.service;

import com.bdzl.pub.entity.loan.OrderMailFileDO;

import java.util.List;
import java.util.Map;

/**
 * 贷款资料邮寄信息与文件关系表
 *
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-05-11 15:02:10
 */
public interface OrderMailFileService {

	OrderMailFileDO get(Integer omfId);

	List<OrderMailFileDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(OrderMailFileDO orderMailFile);

	int update(OrderMailFileDO orderMailFile);

	int remove(Integer omfId);

	int batchRemove(Integer[] omfIds);
	/**
	* @Description: TODO 根据订单号和文件id查询是否邮寄
	* @param omfOdr 订单号
	* @param fileId 文件id
	* @return: com.bdzl.pub.entity.loan.OrderMailFileDO
	* @Author: Ming
	* @Date: 2021/5/29 16:41
	*/
	OrderMailFileDO getByFileId(String omfOdr,Integer fileId);
}
